package com.back.model.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 考试记录表
 * @TableName exam_records
 */
@TableName(value ="exam_records")
@Data
public class ExamRecords {
    /**
     * 记录ID
     */
    @TableId
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 考试ID
     */
    private Long examId;

    /**
     * 总得分
     */
    private BigDecimal totalScore;

    /**
     * 耗时(秒)
     */
    private Integer timeSpent;

    /**
     * 提交时间
     */
    private Date submitTime;

    /**
     * 
     */
    private Date createdTime;
}